package com.yunxi.model.activiti;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName(value = "act_ru_execution")
@Data
public class ActRuExecution {

    @TableId(type = IdType.INPUT)
    @TableField(value = "ID_")
    private String id;

    @TableField(value = "REV_")
    private Integer rev;

    @TableField(value = "PROC_INST_ID_")
    private String procInstId;

    @TableField(value = "BUSINESS_KEY_")
    private String businessKey;

    @TableField(value = "PARENT_ID_")
    private String parentId;

    @TableField(value = "PROC_DEF_ID_")
    private String procDefId;

    @TableField(value = "SUPER_EXEC_")
    private String superExec;

    @TableField(value = "ACT_ID_")
    private String actId;

    @TableField(value = "IS_ACTIVE_")
    private Byte isActive;

    @TableField(value = "IS_CONCURRENT_")
    private Byte isConcurrent;

    @TableField(value = "IS_SCOPE_")
    private Byte isScope;

    @TableField(value = "IS_EVENT_SCOPE_")
    private Byte isEventScope;

    @TableField(value = "SUSPENSION_STATE_")
    private Integer suspensionState;

    @TableField(value = "CACHED_ENT_STATE_")
    private Integer cachedEntState;

    @TableField(value = "TENANT_ID_")
    private String tenantId;

    @TableField(value = "NAME_")
    private String name;

    @TableField(value = "LOCK_TIME_")
    private Date lockTime;


}